package cn.itcast.bos.service.base.Impl;

import cn.itcast.bos.Dao.base.TakeTimeDao;

import cn.itcast.bos.domain.base.TakeTime;
import cn.itcast.bos.service.base.TakeTimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by Administrator on 2017/7/26.
 */
@Service
@Transactional
public class TakeTimeServiceImpl implements TakeTimeService {
    @Autowired
    private TakeTimeDao takeTimeDao;

    @Override
    public List<TakeTime> findAll() {
        return takeTimeDao.findAll();
    }
}
